{% extends 'base.html' %}
{% load static %}
      {% block body %}
      <div>
        <div class="container">
            <div class="panel panel-default" style="background-color: rgb(241, 238, 233);">
                    <div class="panel-heading">
                        <ol class="breadcrumb">
                            <li class="breadcrumb-item"><a href="/number/list/">号码信息</a></li>
                            <li class="breadcrumb-item active" aria-current="page">新增号码：</li>
                        </ol>
                    </div>
                    <div style="display: flex;justify-content: center;">
                        <div >
                            <form method="post" novalidate>
                                {% csrf_token %}
                                    {% for item in form %}
                                    <div>
                                        <div style="display: inline-block;">
                                            {{item.label}}:{{item}}
                                        </div>
                                            <span style="color: red;">{{item.errors.0}}</span>
                                    </div>
                                    {% endfor %}
                                <div style="margin-top: 10px;">
                                    <a style="color: black;" href="/number/list/"><input type="button" value="取消"></a>
                                    <a style="color: black;" >
                                        <input style="margin-left: 105px;" type="submit" value="保存"><br/>
                                    </a>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
        </div>
    </div>
      {% endblock body %}
